ecshop

推荐列表 站点导航

当前位置:首页 > 建站教程 > ecshop >

关于ECSHOP模板架设的服务器php版本过高报错的解决方法集合

来源:网络整理  作者:  发布时间:2020-12-14 10:28
1、admin/index.php admin/sms_url.php 报错: Strict Standards : mktime(): You should be using the time() function instead in /data/web/ledetaoadmin/...

将刚刚的代码改成:
     *  类的构造函数
1、admin/index.php


     *
admin/sms_url.php
        $this->cls_sql_dump($db, $max_size);

继续报错
Strict Standards: Redefining already defined constructor for class tenpayc2c in/data/web/includes/modules/payment/tenpayc2c.php on line 83
Strict Standards: Redefining already defined constructor for class cod in/data/web/includes/modules/payment/cod.php on line 82
Strict Standards: Redefining already defined constructor for class bank in/data/web/includes/modules/payment/bank.php on line 79
3、cls_template.php
 
Warning: end() expects parameter 1 to be array, null given in /data/web/includes/lib_main.php on line 1336
Strict Standards: Redefining already defined constructor for class cappay in/data/web/includes/modules/payment/cappay.php on line 81
     * @access  public
Strict Standards: Redefining already defined constructor for class post in/data/web/includes/modules/payment/post.php on line 79

    $ar = explode('.', $tmp);
     *
     *
Strict Standards: Redefining already defined constructor for class alipay in/data/web/includes/modules/payment/alipay.php on line 85
    /**
报错:Strict Standards: mktime(): You should be using the time() function instead in/data/web/ledetaoadmin/sms_url.php on line 31
替换为:
替换为:
报错:Strict Standards: Only variables should be passed by reference in /data/web/includes/lib_main.php on line1336
     * @param
    $ext = end($ar);
     *
    /**
     * @return void
                            $tag_arr = explode(' ', $tag);
    {

    }
     * @param   integer $width      图片宽度
 
     $ext = end($ar);
    {
将所有的构造函数放到前面:
        $this->captcha($folder, $width, $height);
     *

 
    function alipay()
    function __construct()
     */
前面
Strict Standards: Redefining already defined constructor for class paypal in/data/web/includes/modules/payment/paypal.php on line 82
         $ext = end($arr);  
     */
     * @param   string  $folder     背景图片所在目录

     */
2、lib_main.php
 
 
Strict Standards: Redefining already defined constructor for class kuaiqian in/data/web/includes/modules/payment/kuaiqian.php on line 83
    {
     * @param
     *
     *
     * @return void
如alipay.php
    }
     * 构造函数
        $this->alipay();
Strict Standards: Redefining already defined constructor for class balance in/data/web/includes/modules/payment/balance.php on line 79
                   $tag_sel = array_shift(explode(' ', $tag));
    /**

 
     * @return  bool
 
    function __construct(&$db, $max_size =0)


替换为:
 
 
    }
     * @access  public
     * @access  public
 
         $arr=array();
         $ext = end(explode('.', $tmp));
     * 构造函数
Strict Standards: Redefining already defined constructor for class tenpay in/data/web/includes/modules/payment/tenpay.php on line 83
     * @param
$auth = time();
    }
                            $tag_sel = array_shift($tag_arr);
     * @return void
 
放到
     $ar = explode('.', $tmp);

4、cls_captcha.php


     * @access  public
     *  类的构造函数
Strict Standards: Redefining already defined constructor for class shenzhou in/data/web/includes/modules/payment/shenzhou.php on line 81
    {
解决办法:
5、admin\includes\cls_sql_dump.php
$auth = mktime();
移动到:
    function __construct($folder = '', $width = 145, $height = 20)
 
 
     */
    /**
前面。

Strict Standards: Redefining already defined constructor for class paypal_ec in/data/web/includes/modules/payment/paypal_ec.php on line 96

Strict Standards: Redefining already defined constructor for class chinabank in/data/web/includes/modules/payment/chinabank.php on line 85

移动到:
         $ext = end();  
前面
     * @param   integer $height     图片高度
Strict Standards: Redefining already defined constructor for class ips in/data/web/includes/modules/payment/ips.php on line 82

相关热词: 服务器 php ecshop 方法 解决

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://v30.fanwenzhu.com/jz/ecshop/3708.shtml

最新文章
ecshop中设置顺丰快递支持 ecshop中设置顺丰快递支持

时间:2020-12-28

ecshop图文安装过程详解 ecshop图文安装过程详解

时间:2020-12-28

ecshop邮件服务器设置方法 ecshop邮件服务器设置方法

时间:2020-12-23

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

关于ECSHOP模板架设的服务器php版本过高报错的解决方法集合

2020-12-14 编辑:


将刚刚的代码改成:
     *  类的构造函数
1、admin/index.php


     *
admin/sms_url.php
        $this->cls_sql_dump($db, $max_size);

继续报错
Strict Standards: Redefining already defined constructor for class tenpayc2c in/data/web/includes/modules/payment/tenpayc2c.php on line 83
Strict Standards: Redefining already defined constructor for class cod in/data/web/includes/modules/payment/cod.php on line 82
Strict Standards: Redefining already defined constructor for class bank in/data/web/includes/modules/payment/bank.php on line 79
3、cls_template.php
 
Warning: end() expects parameter 1 to be array, null given in /data/web/includes/lib_main.php on line 1336
Strict Standards: Redefining already defined constructor for class cappay in/data/web/includes/modules/payment/cappay.php on line 81
     * @access  public
Strict Standards: Redefining already defined constructor for class post in/data/web/includes/modules/payment/post.php on line 79

    $ar = explode('.', $tmp);
     *
     *
Strict Standards: Redefining already defined constructor for class alipay in/data/web/includes/modules/payment/alipay.php on line 85
    /**
报错:Strict Standards: mktime(): You should be using the time() function instead in/data/web/ledetaoadmin/sms_url.php on line 31
替换为:
替换为:
报错:Strict Standards: Only variables should be passed by reference in /data/web/includes/lib_main.php on line1336
     * @param
    $ext = end($ar);
     *
    /**
     * @return void
                            $tag_arr = explode(' ', $tag);
    {

    }
     * @param   integer $width      图片宽度
 
     $ext = end($ar);
    {
将所有的构造函数放到前面:
        $this->captcha($folder, $width, $height);
     *

 
    function alipay()
    function __construct()
     */
前面
Strict Standards: Redefining already defined constructor for class paypal in/data/web/includes/modules/payment/paypal.php on line 82
         $ext = end($arr);  
     */
     * @param   string  $folder     背景图片所在目录

     */
2、lib_main.php
 
 
Strict Standards: Redefining already defined constructor for class kuaiqian in/data/web/includes/modules/payment/kuaiqian.php on line 83
    {
     * @param
     *
     *
     * @return void
如alipay.php
    }
     * 构造函数
        $this->alipay();
Strict Standards: Redefining already defined constructor for class balance in/data/web/includes/modules/payment/balance.php on line 79
                   $tag_sel = array_shift(explode(' ', $tag));
    /**

 
     * @return  bool
 
    function __construct(&$db, $max_size =0)


替换为:
 
 
    }
     * @access  public
     * @access  public
 
         $arr=array();
         $ext = end(explode('.', $tmp));
     * 构造函数
Strict Standards: Redefining already defined constructor for class tenpay in/data/web/includes/modules/payment/tenpay.php on line 83
     * @param
$auth = time();
    }
                            $tag_sel = array_shift($tag_arr);
     * @return void
 
放到
     $ar = explode('.', $tmp);

4、cls_captcha.php


     * @access  public
     *  类的构造函数
Strict Standards: Redefining already defined constructor for class shenzhou in/data/web/includes/modules/payment/shenzhou.php on line 81
    {
解决办法:
5、admin\includes\cls_sql_dump.php
$auth = mktime();
移动到:
    function __construct($folder = '', $width = 145, $height = 20)
 
 
     */
    /**
前面。

Strict Standards: Redefining already defined constructor for class paypal_ec in/data/web/includes/modules/payment/paypal_ec.php on line 96

Strict Standards: Redefining already defined constructor for class chinabank in/data/web/includes/modules/payment/chinabank.php on line 85

移动到:
         $ext = end();  
前面
     * @param   integer $height     图片高度
Strict Standards: Redefining already defined constructor for class ips in/data/web/includes/modules/payment/ips.php on line 82

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://v30.fanwenzhu.com/jz/ecshop/3708.shtml

相关文章

风云图片

推荐阅读

返回ecshop频道首页